package com.huawei.classroom.student.h83.q07;

public class MyStudent {
	String ID;
	int yuwen;
	int shuxue;
	int yingyu;
	
	public MyStudent(String ID, int yuwen, int shuxue, int yingyu) {
		this.ID = ID;
		this.yuwen = yuwen;
		this.shuxue = shuxue;
		this.yingyu = yingyu;
	}
	
	public int getsum() {
		return yuwen + shuxue + yingyu;
	}
	
	public String getId() {
		return this.ID;
	}
}
